__author__ = 'wenke1'

from xmlrpclib import ServerProxy
from fileshare import FileNode
import sys

class Client(Cmd):
    prompt = '>'
    def __init__(self,url,sharedir,passwd):
        Cmd.__init__(self)
    def help_start(self):
        print "start command:start server and client"
    def do_start(self):
        server=FileNode(ip,port,sharedir,passwd)
        server._start()
